package com.huike.pmps.service;

import com.huike.pmps.model.dto.common.PageInfo;
import com.huike.pmps.model.entity.Member;
import com.huike.pmps.model.entity.POCourseSupplierDetail;
import com.huike.pmps.model.entity.SupplierSettlementDetail;
import com.huike.pmps.model.vo.Result;
import com.huike.pmps.model.vo.supplier.SupplierPoVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * 作者：谌贵斌(黑桃K)
 * 日期: 2888-08-08
 * 老师QQ: 272488352
 * 官方QQ交流群: 377748272
 * 刀客程序员官网：http://www.daoke360.com
 * 刀客程序员淘宝旗舰店：https://daoke360.taobao.com/
 */
public interface SupplierSettlementDetailService {
    Result insertSupplierSettlementDetail(String ids);

    Result selectOneByPOCourseSupplierId(Integer poCourseSupplierId);

    Result deleteById(Integer id);

    Result updateById(SupplierSettlementDetail supplierSettlementDetail);

    Result selectByCondition(Member member, PageInfo pageInfo, String po, String customerName, String regionName, String provinceName, String courseName, String courseChargeName, String supplierName, Integer poCourseId,String paymentStateName,String taxPoint);

    void exportSupplierSettlement(HttpServletResponse response, String po, String customerName, String regionName, String provinceName, String courseName, String courseChargeName, String supplierName, Member member,String paymentStateName,String taxPoint);

    //导入课程-供应商服务数据
    Result insertByImportSupplierSettlementDetail(MultipartFile file);


    Result updateStateById(String ids);

    Map<String, SupplierPoVo> selectSumCostAndPaidByPo();

}
